from appium import webdriver
desired_caps={}
desired_caps['platformName']='Android'
desired_caps['platformVersion']='9.0'
desired_caps['deviceName']='xiaomi-redmi_note_5-981d510'
desired_caps['appPackage']='com.miui.home'
desired_caps['appActivity']='.launcher.Launcher'
driver=webdriver.Remote('http://localhost:4723/wd/hub',desired_caps)
print('success')
